<?php


namespace Part26_SharingElementMode\Code3;


class ConcreteWebsite extends WebSite
{
    private $name = '';

    public function __construct($name)
    {
        $this->name = $name;
    }

    public function use()
    {
        echo "网站分类{$this->name}\n";
    }
}